package com.edu.mail.product.bean;

import java.sql.Timestamp;
// create table products (pid int not null primary key auto_increment , pname varchar(200),type varchar(100), price double,createtime timestamp);
public class Product {
 private Integer pid;
 private String pname;
 private String type;
 private Double price;
 private Timestamp createTime;
public Integer getPid() {
	return pid;
}
public void setPid(Integer pid) {
	this.pid = pid;
}
public String getPname() {
	return pname;
}
public void setPname(String pname) {
	this.pname = pname;
}
public String getType() {
	return type;
}
public void setType(String type) {
	this.type = type;
}
public Double getPrice() {
	return price;
}
public void setPrice(Double price) {
	this.price = price;
}
public Timestamp getCreateTime() {
	return createTime;
}
public void setCreateTime(Timestamp createTime) {
	this.createTime = createTime;
}
@Override
public String toString() {
	return "Product [pid=" + pid + ", pname=" + pname + ", type=" + type + ", price=" + price + ", createTime="
			+ createTime + "]";
}
 
}
